package com.qutan.app.core.common;

import java.util.ArrayList;
import java.util.List;

/**
 * Created by pwy on 16/5/15
 * 请求数据
 */
public class InputData<T> {

    private String formMerchantId;
    private String toMerchantId;
    private String type;
    // 数据操作
    private String option;
    // 数据列表
    private List<T> dataList = new ArrayList<>();
    // 单数据
    private T data;

    public String getOption() {
        return option;
    }

    public void setOption(String option) {
        this.option = option;
    }


    public String getFormMerchantId() {
        return formMerchantId;
    }

    public void setFormMerchantId(String formMerchantId) {
        this.formMerchantId = formMerchantId;
    }

    public String getToMerchantId() {
        return toMerchantId;
    }

    public void setToMerchantId(String toMerchantId) {
        this.toMerchantId = toMerchantId;
    }

    public String getType() {
        return type;
    }

    public void setType(String type) {
        this.type = type;
    }

    public List<T> getDataList() {
        return dataList;
    }

    public void setDataList(List<T> dataList) {
        this.dataList = dataList;
    }

    public T getData() {
        return data;
    }

    public void setData(T data) {
        this.data = data;
    }
}
